/**
 * Created by MadFrog on 2017/12/17.
 * 用于便捷生成常用的Ext组件
 */
var ExtRenderUtil = {};

ExtRenderUtil.renderSignIn = function (data, cell) {
    switch (data) {
        case 0 :
            return "<span><font color='red'>未签到</font></span>";
            break;
        case 1 :
            return "<span><font color='green'>已签到</font></span>";
            break;
        default :
            return "<span><font color='purple'>错误</font></span>";
            break;
    }
}